import uvicorn

if __name__ == "__main__":
    # 启动应用
    uvicorn.run(
        "app.main:app",
        host="127.0.0.1",
        port=8000,
        reload=True  # 开发环境启用自动重载
    )
